package com.lemon.smartsafety.ui.activity.baidu;

import java.io.Serializable;
import java.util.List;

/**
 * 作者：machenike on 2016/8/18 21:17
 * 邮箱：
 * <p/>
 * 作用:
 */
public class BaiduResult implements Serializable {


    /**
     * status : 0
     * result : {"location":{"lng":120.31572399999993,"lat":31.483685907906228},"formatted_address":"江苏省无锡市滨湖区立德路","business":"雪浪","addressComponent":{"adcode":"320211","city":"无锡市","country":"中国","direction":"","distance":"","district":"滨湖区","province":"江苏省","street":"立德路","street_number":"","country_code":0},"pois":[{"addr":"太湖新城立德道与规划道路交叉口西南侧","cp":" ","direction":"附近","distance":"11","name":"无锡宝能国际金融中心","poiType":"房地产","point":{"x":120.31577015457096,"y":31.483761942960676},"tag":"房地产;写字楼","tel":"","uid":"c214cbcc00149850b020a803","zip":""},{"addr":"无锡市滨湖区立德道","cp":" ","direction":"西","distance":"117","name":"无锡商会大厦","poiType":"房地产","point":{"x":120.31677625674214,"y":31.48370035405924},"tag":"房地产;写字楼","tel":"","uid":"2e26d098a84414f3740269e1","zip":""},{"addr":"","cp":" ","direction":"西北","distance":"199","name":"淳德桥","poiType":"交通设施","point":{"x":120.31640795148304,"y":31.482268400558826},"tag":"交通设施;桥","tel":"","uid":"72e57fd73793c6d2f8dc851e","zip":""},{"addr":"无锡市滨湖区","cp":" ","direction":"东南","distance":"323","name":"银华金融大厦","poiType":"房地产","point":{"x":120.31335371274912,"y":31.485132285427085},"tag":"房地产;写字楼","tel":"","uid":"b65d478d734c05fcad31e55a","zip":""},{"addr":"","cp":" ","direction":"东北","distance":"372","name":"忠信桥","poiType":"交通设施","point":{"x":120.31329083136342,"y":31.481714090036196},"tag":"交通设施;桥","tel":"","uid":"0ed20a15f75d28ea57bfff2f","zip":""},{"addr":"","cp":" ","direction":"西","distance":"394","name":"丰宁桥","poiType":"交通设施","point":{"x":120.31920168161908,"y":31.484277748402786},"tag":"交通设施;桥","tel":"","uid":"d3f955a54b270e0d0482c205","zip":""},{"addr":"滨湖区太湖新城吴都路南侧,丰润道西侧、观顺道东侧","cp":" ","direction":"东南","distance":"627","name":"宝能城","poiType":"房地产","point":{"x":120.31282371249823,"y":31.487826719926545},"tag":"房地产;住宅区","tel":"","uid":"ed4672de278e2f4ac17da235","zip":""},{"addr":"太湖新城立德道和吴都路交汇处","cp":" ","direction":"南","distance":"749","name":"沃德商务酒店","poiType":"酒店","point":{"x":120.31664151091564,"y":31.489404852309},"tag":"酒店","tel":"","uid":"663026852a6d2e0d32f71d61","zip":""},{"addr":"无锡市滨湖区雪浪镇雪丰路","cp":" ","direction":"东","distance":"978","name":"雪浪双新工业园","poiType":"公司企业","point":{"x":120.30711048945477,"y":31.48518617488511},"tag":"公司企业;园区","tel":"","uid":"c17d187282a961fdfbdc85b9","zip":""}],"poiRegions":[],"sematic_description":"无锡宝能国际金融中心附近11米","cityCode":317}
     */

    private int status;
    /**
     * location : {"lng":120.31572399999993,"lat":31.483685907906228}
     * formatted_address : 江苏省无锡市滨湖区立德路
     * business : 雪浪
     * addressComponent : {"adcode":"320211","city":"无锡市","country":"中国","direction":"","distance":"","district":"滨湖区","province":"江苏省","street":"立德路","street_number":"","country_code":0}
     * pois : [{"addr":"太湖新城立德道与规划道路交叉口西南侧","cp":" ","direction":"附近","distance":"11","name":"无锡宝能国际金融中心","poiType":"房地产","point":{"x":120.31577015457096,"y":31.483761942960676},"tag":"房地产;写字楼","tel":"","uid":"c214cbcc00149850b020a803","zip":""},{"addr":"无锡市滨湖区立德道","cp":" ","direction":"西","distance":"117","name":"无锡商会大厦","poiType":"房地产","point":{"x":120.31677625674214,"y":31.48370035405924},"tag":"房地产;写字楼","tel":"","uid":"2e26d098a84414f3740269e1","zip":""},{"addr":"","cp":" ","direction":"西北","distance":"199","name":"淳德桥","poiType":"交通设施","point":{"x":120.31640795148304,"y":31.482268400558826},"tag":"交通设施;桥","tel":"","uid":"72e57fd73793c6d2f8dc851e","zip":""},{"addr":"无锡市滨湖区","cp":" ","direction":"东南","distance":"323","name":"银华金融大厦","poiType":"房地产","point":{"x":120.31335371274912,"y":31.485132285427085},"tag":"房地产;写字楼","tel":"","uid":"b65d478d734c05fcad31e55a","zip":""},{"addr":"","cp":" ","direction":"东北","distance":"372","name":"忠信桥","poiType":"交通设施","point":{"x":120.31329083136342,"y":31.481714090036196},"tag":"交通设施;桥","tel":"","uid":"0ed20a15f75d28ea57bfff2f","zip":""},{"addr":"","cp":" ","direction":"西","distance":"394","name":"丰宁桥","poiType":"交通设施","point":{"x":120.31920168161908,"y":31.484277748402786},"tag":"交通设施;桥","tel":"","uid":"d3f955a54b270e0d0482c205","zip":""},{"addr":"滨湖区太湖新城吴都路南侧,丰润道西侧、观顺道东侧","cp":" ","direction":"东南","distance":"627","name":"宝能城","poiType":"房地产","point":{"x":120.31282371249823,"y":31.487826719926545},"tag":"房地产;住宅区","tel":"","uid":"ed4672de278e2f4ac17da235","zip":""},{"addr":"太湖新城立德道和吴都路交汇处","cp":" ","direction":"南","distance":"749","name":"沃德商务酒店","poiType":"酒店","point":{"x":120.31664151091564,"y":31.489404852309},"tag":"酒店","tel":"","uid":"663026852a6d2e0d32f71d61","zip":""},{"addr":"无锡市滨湖区雪浪镇雪丰路","cp":" ","direction":"东","distance":"978","name":"雪浪双新工业园","poiType":"公司企业","point":{"x":120.30711048945477,"y":31.48518617488511},"tag":"公司企业;园区","tel":"","uid":"c17d187282a961fdfbdc85b9","zip":""}]
     * poiRegions : []
     * sematic_description : 无锡宝能国际金融中心附近11米
     * cityCode : 317
     */

    private ResultBean result;

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public ResultBean getResult() {
        return result;
    }

    public void setResult(ResultBean result) {
        this.result = result;
    }

    public static class ResultBean {
        /**
         * lng : 120.31572399999993
         * lat : 31.483685907906228
         */

        private LocationBean location;
        private String formatted_address;
        private String business;
        /**
         * adcode : 320211
         * city : 无锡市
         * country : 中国
         * direction :
         * distance :
         * district : 滨湖区
         * province : 江苏省
         * street : 立德路
         * street_number :
         * country_code : 0
         */

        private AddressComponentBean addressComponent;
        private String sematic_description;
        private int cityCode;
        /**
         * addr : 太湖新城立德道与规划道路交叉口西南侧
         * cp :
         * direction : 附近
         * distance : 11
         * name : 无锡宝能国际金融中心
         * poiType : 房地产
         * point : {"x":120.31577015457096,"y":31.483761942960676}
         * tag : 房地产;写字楼
         * tel :
         * uid : c214cbcc00149850b020a803
         * zip :
         */

        private List<PoisBean> pois;
        private List<?> poiRegions;

        public LocationBean getLocation() {
            return location;
        }

        public void setLocation(LocationBean location) {
            this.location = location;
        }

        public String getFormatted_address() {
            return formatted_address;
        }

        public void setFormatted_address(String formatted_address) {
            this.formatted_address = formatted_address;
        }

        public String getBusiness() {
            return business;
        }

        public void setBusiness(String business) {
            this.business = business;
        }

        public AddressComponentBean getAddressComponent() {
            return addressComponent;
        }

        public void setAddressComponent(AddressComponentBean addressComponent) {
            this.addressComponent = addressComponent;
        }

        public String getSematic_description() {
            return sematic_description;
        }

        public void setSematic_description(String sematic_description) {
            this.sematic_description = sematic_description;
        }

        public int getCityCode() {
            return cityCode;
        }

        public void setCityCode(int cityCode) {
            this.cityCode = cityCode;
        }

        public List<PoisBean> getPois() {
            return pois;
        }

        public void setPois(List<PoisBean> pois) {
            this.pois = pois;
        }

        public List<?> getPoiRegions() {
            return poiRegions;
        }

        public void setPoiRegions(List<?> poiRegions) {
            this.poiRegions = poiRegions;
        }

        public static class LocationBean {
            private double lng;
            private double lat;

            public double getLng() {
                return lng;
            }

            public void setLng(double lng) {
                this.lng = lng;
            }

            public double getLat() {
                return lat;
            }

            public void setLat(double lat) {
                this.lat = lat;
            }
        }

        public static class AddressComponentBean {
            private String adcode;
            private String city;
            private String country;
            private String direction;
            private String distance;
            private String district;
            private String province;
            private String street;
            private String street_number;
            private int country_code;

            public String getAdcode() {
                return adcode;
            }

            public void setAdcode(String adcode) {
                this.adcode = adcode;
            }

            public String getCity() {
                return city;
            }

            public void setCity(String city) {
                this.city = city;
            }

            public String getCountry() {
                return country;
            }

            public void setCountry(String country) {
                this.country = country;
            }

            public String getDirection() {
                return direction;
            }

            public void setDirection(String direction) {
                this.direction = direction;
            }

            public String getDistance() {
                return distance;
            }

            public void setDistance(String distance) {
                this.distance = distance;
            }

            public String getDistrict() {
                return district;
            }

            public void setDistrict(String district) {
                this.district = district;
            }

            public String getProvince() {
                return province;
            }

            public void setProvince(String province) {
                this.province = province;
            }

            public String getStreet() {
                return street;
            }

            public void setStreet(String street) {
                this.street = street;
            }

            public String getStreet_number() {
                return street_number;
            }

            public void setStreet_number(String street_number) {
                this.street_number = street_number;
            }

            public int getCountry_code() {
                return country_code;
            }

            public void setCountry_code(int country_code) {
                this.country_code = country_code;
            }
        }

        public static class PoisBean {
            private String addr;
            private String cp;
            private String direction;
            private String distance;
            private String name;
            private String poiType;
            /**
             * x : 120.31577015457096
             * y : 31.483761942960676
             */

            private PointBean point;
            private String tag;
            private String tel;
            private String uid;
            private String zip;

            public String getAddr() {
                return addr;
            }

            public void setAddr(String addr) {
                this.addr = addr;
            }

            public String getCp() {
                return cp;
            }

            public void setCp(String cp) {
                this.cp = cp;
            }

            public String getDirection() {
                return direction;
            }

            public void setDirection(String direction) {
                this.direction = direction;
            }

            public String getDistance() {
                return distance;
            }

            public void setDistance(String distance) {
                this.distance = distance;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getPoiType() {
                return poiType;
            }

            public void setPoiType(String poiType) {
                this.poiType = poiType;
            }

            public PointBean getPoint() {
                return point;
            }

            public void setPoint(PointBean point) {
                this.point = point;
            }

            public String getTag() {
                return tag;
            }

            public void setTag(String tag) {
                this.tag = tag;
            }

            public String getTel() {
                return tel;
            }

            public void setTel(String tel) {
                this.tel = tel;
            }

            public String getUid() {
                return uid;
            }

            public void setUid(String uid) {
                this.uid = uid;
            }

            public String getZip() {
                return zip;
            }

            public void setZip(String zip) {
                this.zip = zip;
            }

            public static class PointBean {
                private double x;
                private double y;

                public double getX() {
                    return x;
                }

                public void setX(double x) {
                    this.x = x;
                }

                public double getY() {
                    return y;
                }

                public void setY(double y) {
                    this.y = y;
                }
            }
        }
    }
}
